export function mouseEnterHandle(dom) {
  if (dom) {
    for (let i = 0; i <= 100; i++) {
      dom.target.style.setProperty('--progress', i + '%')
    }
  }
}

export function mouseLeaveHandle(dom) {
  if (dom) {
    for (let i = 100; i >= 0; i--) {
      dom.target.style.setProperty('--progress', i + '%')
    }
  }
}
